<template>
	<view>
		<u-picker mode="time" v-model="show" :params="params"></u-picker>
		<u-button @click="show = true">打开</u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				params: {
									year: true,
									month: true,
									day: true,
									hour: false,
									minute: false,
									second: false
								},
								show: false
			};
		}
	}
</script>

<style lang="scss">

</style>
